body{
    max-width: 540px;
    min-width: 320px;
    background-color: #f2f2f2;
    margin: 0 auto !important;
    color: #000;
  
   
}

a{
    text-decoration: none;
    color: white;
}

*{
    margin: 0;
    padding: 0;
}
.search-box{
    
    display: flex;
    position:fixed;
    top: 0;
    left: 50%;
    box-sizing: border-box;
    padding-left: 12px;
    transform: translateX(-50%);
    /* 固定的盒子必须有宽度  且固定定位跟父级没有关系 它以屏幕为主 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    z-index: 999;
 
}
.search{
    display: flex;
    flex: 1;
    border-radius: 5px;
    padding-left: 10px;
    height: 28px;
    margin: 8px 0;
    border: 1px solid #ccc;
    color:#666666;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    background-color: #f2f2f2;
    

}
.search::before{
    content: "";
    margin: 6px 0;
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    background: url("../upload/home-common-sprite.png") no-repeat;
    background-size: 22px auto;
}
.search form{
    display: inline-block;
    flex: 1;
   
   
    
}
form input{
    background-color: transparent;
    border: none;
    width: 100%;
    height: 100%;
    outline: none;

}

.user {
    width: 44px;
    height: 44px;
  text-align: center;
}
.user::before{
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    margin: 5px auto 0;
    background: url("../upload/home-common-sprite.png") no-repeat 0px -38px;
    background-size: 22px auto ;


}
.user::after{
    content: "我 的";
    
}




.local-nav{
    margin: 0 ;
    padding: 0;
    display: flex;
    list-style: none;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 0 4px;
}
.local-nav li{
    flex: 1;
}
.local-nav li a{
    display: block;
    text-align: center;
    height: 64px;
    font-size: 12px;
    color: #000;
}
.local-nav li:nth-child(1) a::before{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto 0;
    background: url("../upload/home-fivemain-sprite.png") no-repeat;
    background-size: 40px auto;
}
.local-nav li:nth-child(2) a::before{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto 0;
    background: url("../upload/home-fivemain-sprite.png") no-repeat 0 -40px;
    background-size: 40px auto;
}
.local-nav li:nth-child(3) a::before{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto 0;
    background: url("../upload/home-fivemain-sprite.png") no-repeat 0 -80px;
    background-size: 40px auto;
}
.local-nav li:nth-child(4) a::before{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto 0;
    background: url("../upload/home-fivemain-sprite.png") no-repeat 0 -120px;
    background-size: 40px auto;
}
.local-nav li:nth-child(5) a::before{
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin: 5px auto 0;
    background: url("../upload/home-fivemain-sprite.png") no-repeat 0 -160px;
    background-size: 40px auto;
}

nav{
    border-radius: 8px;
    margin: 0 4px 3px;
  overflow: hidden;
}
.nav-common{
    display: flex;
    height: 66px;
   
}
.nav-common:nth-child(2){
    margin: 2px 0;
}

.nav-items{

    flex: 1;
    background-color: #666666;
}
 .nav-items:nth-child(1){
    display: flex;
    background: linear-gradient(to right,#fa5956,#fb8650 54%);
}
.nav-items:nth-child(1) a{
    flex: 1;
    text-align: center;
    line-height: 66px;
    background: url("../upload/grid-nav-items-hotel.png") no-repeat;
    background-position: right bottom;
    background-size: 73px auto;
}
.nav-items:nth-child(2){
    display: flex;
    flex-direction: column;
    border: 1px solid #fff;
    border-top: none;
    border-bottom: none;
    background: linear-gradient(to right,#fa5956,#fb8650 54%);
}
.nav-items:nth-child(2) a{
    flex: 1;
    text-align: center;
    line-height: 33px;
    border-bottom: 1px solid #fff;
   
}
.nav-items:nth-child(3){
    display: flex;
    flex-direction: column;
    background: linear-gradient(to right,#ffbc49,#ffd252);
}
.nav-items:nth-child(3) a{
    flex: 1;
    text-align: center;
    line-height: 33px;
    border-bottom: 1px solid #fff;

}


.nav-common:nth-child(2) .nav-items:nth-child(1) a{
background: url("../upload/grid-nav-items-flight@v7.15.png") no-repeat right bottom;
background-size: 73px auto;
}
.nav-common:nth-child(3) .nav-items:nth-child(1) a{
    background: url("../upload/grid-nav-items-travel@v7.15.png") no-repeat right bottom;
    background-size: 73px auto;
    }
section ul {
    display: flex;
    list-style: none;
    height: 64px;
    margin: 0 4px;
 
}
.li-itmes{
    flex: 1;
    display: flex;
}
.li-itmes a{
    flex: 1;
    text-align: center;
    color: #000;
    font-size: 12px;

}
.li-itmes:nth-child(1) a::before{
    content: "";
    display: block;
    margin: 5px auto;
    width: 28px;
    height: 28px;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat;
    background-size: 28px auto;
}
.li-itmes:nth-child(2) a::before{
    content: "";
    display: block;
    margin: 5px auto;
    width: 28px;
    height: 28px;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -28px;
    background-size: 28px auto;
}
.li-itmes:nth-child(3) a::before{
    content: "";
    display: block;
    margin: 5px auto;
    width: 28px;
    height: 28px;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -56px;
    background-size: 28px auto;
}
.li-itmes:nth-child(4) a::before{
    content: "";
    display: block;
    margin: 5px auto;
    width: 28px;
    height: 28px;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -84px;
    background-size: 28px auto;
}
.li-itmes:nth-child(5) a::before{
    content: "";
    display: block;
    margin: 5px auto;
    width: 28px;
    height: 28px;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -112px;
    background-size: 28px auto;
}
section ol {
    list-style: none;
    display: flex;
    margin: 0 4px;
    height: 64px;
    
}
section ol li{
    display: flex;
    flex: 1;
    
}
section ol li a{
    flex: 1;
    text-align: center;
    color: #000;
    font-size: 12px;

}
section ol li:nth-child(1) a::before{
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -140px;
    background-size: 28px auto;
}
section ol li:nth-child(2) a::before{
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -168px;
    background-size: 28px auto;
}
section ol li:nth-child(3) a::before{
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -196px;
    background-size: 28px auto;
}
section ol li:nth-child(4) a::before{
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -224px;
    background-size: 28px auto;
}
section ol li:nth-child(5) a::before{
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto;
    background: url("../upload/un_ico_subnav2x@v7.33.png") no-repeat 0 -252px;
    background-size: 28px auto;
}

footer {
    display: flex;
    height: 60px;
    border-top: 1px solid #f2f2f2;
    border-bottom: 1px solid #f2f2f2;
    background-color: #fff;
}
footer div{
    flex: 1;
    display: flex;
    height: 60px;
}
footer div a{
    flex: 1;
    color: gray;

    text-align: center;
}
footer div:nth-child(1) a::before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px auto;
    background: url("../upload/电话.png") no-repeat;
    background-size:  32px auto;
}
footer div:nth-child(2) a::before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px auto;
    background: url("../upload/下载.png") no-repeat;
    background-size:  32px auto;
}
footer div:nth-child(3) a::before{
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    margin: 4px auto;
    background: url("../upload/我的.png") no-repeat;
    background-size:  32px auto;
}
.rights p{
    margin-top: 15px;
    text-align: center;
    color: #ccc;
}